gtk/gtktextbuffer: remove GtkTextBufferTargetInfo
authorDavid Lechner <david@lechnology.com>
Sat, 7 Nov 2020 22:29:11 +0000 (22:29 +0000)
committerDavid Lechner <david@lechnology.com>
Sat, 7 Nov 2020 22:29:11 +0000 (22:29 +0000)
GtkTextBufferTargetInfo is not used anywhere and can be removed.

gtk/gtktextbuffer.h

index c084ff838b6e415aef13a03f736619a9df4f0e30..2223bb9516c0c4f9a672d0bfc8c1ad1871706ed8 100644 (file)
@@ -42,26 +42,6 @@ G_BEGIN_DECLS
  * GtkTextBTree is the PRIVATE internal representation of it.
  */
 
-/**
- * GtkTextBufferTargetInfo:
- * @GTK_TEXT_BUFFER_TARGET_INFO_BUFFER_CONTENTS: Buffer contents
- * @GTK_TEXT_BUFFER_TARGET_INFO_RICH_TEXT: Rich text
- * @GTK_TEXT_BUFFER_TARGET_INFO_TEXT: Text
- *
- * These values are used as “info” for the targets contained in the
- * lists returned by gtk_text_buffer_get_copy_target_list() and
- * gtk_text_buffer_get_paste_target_list().
- *
- * The values counts down from `-1` to avoid clashes
- * with application added drag destinations which usually start at 0.
- */
-typedef enum
-{
-  GTK_TEXT_BUFFER_TARGET_INFO_BUFFER_CONTENTS = - 1,
-  GTK_TEXT_BUFFER_TARGET_INFO_RICH_TEXT       = - 2,
-  GTK_TEXT_BUFFER_TARGET_INFO_TEXT            = - 3
-} GtkTextBufferTargetInfo;
-
 typedef struct _GtkTextBTree GtkTextBTree;
 
 #define GTK_TYPE_TEXT_BUFFER            (gtk_text_buffer_get_type ())